<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>l8w8jwt: include/l8w8jwt/claim.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">l8w8jwt
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_4cc40c4817b6dd8b994fc53e2126ebc6.html">l8w8jwt</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">claim.h File Reference</div></div>
</div><!--header-->
<div class="contents">

<p>JWT claims as described in <a href="https://auth0.com/docs/tokens/concepts/jwt-claims">https://auth0.com/docs/tokens/concepts/jwt-claims</a>.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="version_8h_source.html">version.h</a>&quot;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for claim.h:</div>
<div class="dyncontent">
<div class="center"><img src="claim_8h__incl.png" border="0" usemap="#ainclude_2l8w8jwt_2claim_8h" alt=""/></div>
<map name="ainclude_2l8w8jwt_2claim_8h" id="ainclude_2l8w8jwt_2claim_8h">
<area shape="rect" title="JWT claims as described in https://auth0.com/docs/tokens/concepts/jwt&#45;claims." alt="" coords="10,5,164,32"/>
<area shape="rect" href="version_8h.html" title="l8w8jwt version checking." alt="" coords="5,80,78,107"/>
<area shape="poly" title=" " alt="" coords="81,34,60,68,55,65,77,31"/>
<area shape="rect" title=" " alt="" coords="102,80,165,107"/>
<area shape="poly" title=" " alt="" coords="97,31,120,66,115,68,93,34"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="claim_8h__dep__incl.png" border="0" usemap="#ainclude_2l8w8jwt_2claim_8hdep" alt=""/></div>
<map name="ainclude_2l8w8jwt_2claim_8hdep" id="ainclude_2l8w8jwt_2claim_8hdep">
<area shape="rect" title="JWT claims as described in https://auth0.com/docs/tokens/concepts/jwt&#45;claims." alt="" coords="106,5,260,32"/>
<area shape="rect" href="decode_8h.html" title="Core DECODE function for l8w8jwt. Use this to decode and validate a JWT!" alt="" coords="5,80,171,107"/>
<area shape="poly" title=" " alt="" coords="156,44,106,82,103,77,152,40"/>
<area shape="rect" href="encode_8h.html" title="Core ENCODE function for l8w8jwt. Use this to encode a JWT header + payload WITHOUT signing." alt="" coords="195,80,360,107"/>
<area shape="poly" title=" " alt="" coords="213,40,263,77,259,82,210,44"/>
</map>
</div>
</div>
<p><a href="claim_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structl8w8jwt__claim.html">l8w8jwt_claim</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:aed64c0a75b89b6c4eb8ea9d1011ddbad" id="r_aed64c0a75b89b6c4eb8ea9d1011ddbad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aed64c0a75b89b6c4eb8ea9d1011ddbad">L8W8JWT_CLAIM_TYPE_STRING</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:aed64c0a75b89b6c4eb8ea9d1011ddbad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad108a210c94f08fa60642d319f98ea41" id="r_ad108a210c94f08fa60642d319f98ea41"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad108a210c94f08fa60642d319f98ea41">L8W8JWT_CLAIM_TYPE_INTEGER</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:ad108a210c94f08fa60642d319f98ea41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfe5a6c20b79adce13f6a40ea1d499bd" id="r_acfe5a6c20b79adce13f6a40ea1d499bd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#acfe5a6c20b79adce13f6a40ea1d499bd">L8W8JWT_CLAIM_TYPE_NUMBER</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:acfe5a6c20b79adce13f6a40ea1d499bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3168d182ac97d956f72efb128c7b8028" id="r_a3168d182ac97d956f72efb128c7b8028"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3168d182ac97d956f72efb128c7b8028">L8W8JWT_CLAIM_TYPE_BOOLEAN</a>&#160;&#160;&#160;3</td></tr>
<tr class="separator:a3168d182ac97d956f72efb128c7b8028"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd960d6502bd275167d4c18b0c395cc5" id="r_afd960d6502bd275167d4c18b0c395cc5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afd960d6502bd275167d4c18b0c395cc5">L8W8JWT_CLAIM_TYPE_NULL</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:afd960d6502bd275167d4c18b0c395cc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7102e9ebdd1feb8ab270bfe8476bdd6e" id="r_a7102e9ebdd1feb8ab270bfe8476bdd6e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7102e9ebdd1feb8ab270bfe8476bdd6e">L8W8JWT_CLAIM_TYPE_ARRAY</a>&#160;&#160;&#160;5</td></tr>
<tr class="separator:a7102e9ebdd1feb8ab270bfe8476bdd6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3684172f187f609ca66b02729ec15df4" id="r_a3684172f187f609ca66b02729ec15df4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3684172f187f609ca66b02729ec15df4">L8W8JWT_CLAIM_TYPE_OBJECT</a>&#160;&#160;&#160;6</td></tr>
<tr class="separator:a3684172f187f609ca66b02729ec15df4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad17402571b390c52bd83ebcee164396e" id="r_ad17402571b390c52bd83ebcee164396e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad17402571b390c52bd83ebcee164396e">L8W8JWT_CLAIM_TYPE_OTHER</a>&#160;&#160;&#160;7</td></tr>
<tr class="separator:ad17402571b390c52bd83ebcee164396e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a26b08014ee52ae818e3b3a4f40d97916" id="r_a26b08014ee52ae818e3b3a4f40d97916"><td class="memItemLeft" align="right" valign="top">L8W8JWT_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a26b08014ee52ae818e3b3a4f40d97916">l8w8jwt_free_claims</a> (struct <a class="el" href="structl8w8jwt__claim.html">l8w8jwt_claim</a> *claims, size_t claims_count)</td></tr>
<tr class="separator:a26b08014ee52ae818e3b3a4f40d97916"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23ac5e3fc8efe6d85db9c64625cad740" id="r_a23ac5e3fc8efe6d85db9c64625cad740"><td class="memItemLeft" align="right" valign="top">L8W8JWT_API int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a23ac5e3fc8efe6d85db9c64625cad740">l8w8jwt_write_claims</a> (struct chillbuff *stringbuilder, struct <a class="el" href="structl8w8jwt__claim.html">l8w8jwt_claim</a> *claims, size_t claims_count)</td></tr>
<tr class="separator:a23ac5e3fc8efe6d85db9c64625cad740"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adddd51b5acea94a9ba5a3476f1cd6c71" id="r_adddd51b5acea94a9ba5a3476f1cd6c71"><td class="memItemLeft" align="right" valign="top">L8W8JWT_API struct <a class="el" href="structl8w8jwt__claim.html">l8w8jwt_claim</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#adddd51b5acea94a9ba5a3476f1cd6c71">l8w8jwt_get_claim</a> (struct <a class="el" href="structl8w8jwt__claim.html">l8w8jwt_claim</a> *claims, size_t claims_count, const char *key, size_t key_length)</td></tr>
<tr class="separator:adddd51b5acea94a9ba5a3476f1cd6c71"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>JWT claims as described in <a href="https://auth0.com/docs/tokens/concepts/jwt-claims">https://auth0.com/docs/tokens/concepts/jwt-claims</a>. </p>
<dl class="section author"><dt>Author</dt><dd>Raphael Beck </dd></dl>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a7102e9ebdd1feb8ab270bfe8476bdd6e" name="a7102e9ebdd1feb8ab270bfe8476bdd6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7102e9ebdd1feb8ab270bfe8476bdd6e">&#9670;&#160;</a></span>L8W8JWT_CLAIM_TYPE_ARRAY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L8W8JWT_CLAIM_TYPE_ARRAY&#160;&#160;&#160;5</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>JWT claim value type JSON array (e.g. <code>"ids": [2, 4, 8, 16]</code>). </p>

</div>
</div>
<a id="a3168d182ac97d956f72efb128c7b8028" name="a3168d182ac97d956f72efb128c7b8028"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3168d182ac97d956f72efb128c7b8028">&#9670;&#160;</a></span>L8W8JWT_CLAIM_TYPE_BOOLEAN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L8W8JWT_CLAIM_TYPE_BOOLEAN&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>JWT claim value is a boolean (e.g. <code>"done": true</code>). </p>

</div>
</div>
<a id="ad108a210c94f08fa60642d319f98ea41" name="ad108a210c94f08fa60642d319f98ea41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad108a210c94f08fa60642d319f98ea41">&#9670;&#160;</a></span>L8W8JWT_CLAIM_TYPE_INTEGER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L8W8JWT_CLAIM_TYPE_INTEGER&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>JWT claim value is an integer (e.g. <code>"exp": 1579610629</code>) </p>

</div>
</div>
<a id="afd960d6502bd275167d4c18b0c395cc5" name="afd960d6502bd275167d4c18b0c395cc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd960d6502bd275167d4c18b0c395cc5">&#9670;&#160;</a></span>L8W8JWT_CLAIM_TYPE_NULL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L8W8JWT_CLAIM_TYPE_NULL&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>JWT claim value is null (e.g. <code>"ref": null</code>). </p>

</div>
</div>
<a id="acfe5a6c20b79adce13f6a40ea1d499bd" name="acfe5a6c20b79adce13f6a40ea1d499bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfe5a6c20b79adce13f6a40ea1d499bd">&#9670;&#160;</a></span>L8W8JWT_CLAIM_TYPE_NUMBER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L8W8JWT_CLAIM_TYPE_NUMBER&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>JWT claim value type number (e.g. <code>"size": 1.85</code>). </p>

</div>
</div>
<a id="a3684172f187f609ca66b02729ec15df4" name="a3684172f187f609ca66b02729ec15df4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3684172f187f609ca66b02729ec15df4">&#9670;&#160;</a></span>L8W8JWT_CLAIM_TYPE_OBJECT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L8W8JWT_CLAIM_TYPE_OBJECT&#160;&#160;&#160;6</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>JWT claim value type is a JSON object (e.g. <code>"objs": { "name": "GMan", "id": 420 }</code>). </p>

</div>
</div>
<a id="ad17402571b390c52bd83ebcee164396e" name="ad17402571b390c52bd83ebcee164396e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad17402571b390c52bd83ebcee164396e">&#9670;&#160;</a></span>L8W8JWT_CLAIM_TYPE_OTHER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L8W8JWT_CLAIM_TYPE_OTHER&#160;&#160;&#160;7</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>JWT claim value is some other type. </p>

</div>
</div>
<a id="aed64c0a75b89b6c4eb8ea9d1011ddbad" name="aed64c0a75b89b6c4eb8ea9d1011ddbad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed64c0a75b89b6c4eb8ea9d1011ddbad">&#9670;&#160;</a></span>L8W8JWT_CLAIM_TYPE_STRING</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L8W8JWT_CLAIM_TYPE_STRING&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>JWT claim value is a string (e.g. <code>"iss": "glitchedpolygons.com"</code>). </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a26b08014ee52ae818e3b3a4f40d97916" name="a26b08014ee52ae818e3b3a4f40d97916"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26b08014ee52ae818e3b3a4f40d97916">&#9670;&#160;</a></span>l8w8jwt_free_claims()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">L8W8JWT_API void l8w8jwt_free_claims </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structl8w8jwt__claim.html">l8w8jwt_claim</a> *</td>          <td class="paramname"><span class="paramname"><em>claims</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>claims_count</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Frees a heap-allocated <code><a class="el" href="structl8w8jwt__claim.html">l8w8jwt_claim</a></code> array. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">claims</td><td>The claims to free. </td></tr>
    <tr><td class="paramname">claims_count</td><td>The size of the passed claims array. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="adddd51b5acea94a9ba5a3476f1cd6c71" name="adddd51b5acea94a9ba5a3476f1cd6c71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adddd51b5acea94a9ba5a3476f1cd6c71">&#9670;&#160;</a></span>l8w8jwt_get_claim()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">L8W8JWT_API struct <a class="el" href="structl8w8jwt__claim.html">l8w8jwt_claim</a> * l8w8jwt_get_claim </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structl8w8jwt__claim.html">l8w8jwt_claim</a> *</td>          <td class="paramname"><span class="paramname"><em>claims</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>claims_count</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>key</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>key_length</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets a claim by key from a <a class="el" href="structl8w8jwt__claim.html">l8w8jwt_claim</a> array. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">claims</td><td>The array to look in. </td></tr>
    <tr><td class="paramname">claims_count</td><td>The claims array size. </td></tr>
    <tr><td class="paramname">key</td><td>The claim key (e.g. "sub") to look for. </td></tr>
    <tr><td class="paramname">key_length</td><td>The claim key's string length. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The found claim; <code>NULL</code> if no such claim was found in the array. </dd></dl>

</div>
</div>
<a id="a23ac5e3fc8efe6d85db9c64625cad740" name="a23ac5e3fc8efe6d85db9c64625cad740"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23ac5e3fc8efe6d85db9c64625cad740">&#9670;&#160;</a></span>l8w8jwt_write_claims()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">L8W8JWT_API int l8w8jwt_write_claims </td>
          <td>(</td>
          <td class="paramtype">struct chillbuff *</td>          <td class="paramname"><span class="paramname"><em>stringbuilder</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structl8w8jwt__claim.html">l8w8jwt_claim</a> *</td>          <td class="paramname"><span class="paramname"><em>claims</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>claims_count</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Writes a bunch of JWT claims into a chillbuff stringbuilder. </p>
<p>Curly braces and trailing commas won't be written; only the "key":"value" pairs! </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">stringbuilder</td><td>The buffer into which to write the claims. </td></tr>
    <tr><td class="paramname">claims</td><td>The <a class="el" href="structl8w8jwt__claim.html">l8w8jwt_claim</a> array of claims to write. </td></tr>
    <tr><td class="paramname">claims_count</td><td>The claims array size. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Return code as specified inside <a class="el" href="retcodes_8h.html" title="Macros for possible integer codes returned by the various l8w8jwt functions.">retcodes.h</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
</small></address>
</body>
</html>
